package cn.wolfcode.luowowo.acticle.mapper;

import cn.wolfcode.luowowo.acticle.domain.QuestionAndAnswerComment;
import cn.wolfcode.luowowo.acticle.query.QuestionAndAnswerCommentQuery;

import java.util.List;

public interface QuestionAndAnswerCommentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(QuestionAndAnswerComment record);

    QuestionAndAnswerComment selectByPrimaryKey(Long id);

    List<QuestionAndAnswerComment> selectAll();

    int updateByPrimaryKey(QuestionAndAnswerComment record);

    List<QuestionAndAnswerComment> selectForList(QuestionAndAnswerCommentQuery qo);

    List<QuestionAndAnswerComment> selectCommentById(Long id);
}